import request from './request.js';

// 登录
export function getlogin(data) {
	return request({
		url: '/api/user/login',
		method: 'POST',
		data
	})
}
//订单信息
export function getOrderInfo(data) {
	return request({
		url: '/api/order/detail',
		method: 'POST',
		data
	})
}
//板子大小
export function getOrderboard(data) {
	return request({
		url: '/api/order/board',
		method: 'POST',
		data
	})
}
//报工记录
export function getOrderLogList(data) {
	return request({
		url: '/api/order/orderLogList',
		method: 'POST',
		data
	})
}
//提交报工记录
export function setxisuWork(data) {
	return request({
		url: '/api/order/xisuReportWork',
		method: 'POST',
		data
	})
}
//圆模报工记录
export function setyuanmoWork(data) {
	return request({
		url: '/api/order/yuanmoReportWork',
		method: 'POST',
		data
	})
}
//xipian报工记录
export function setxipianWork(data) {
	return request({
		url: '/api/order/xipianReportWork',
		method: 'POST',
		data
	})
}
//下钻报工记录
export function setxiazuanWork(data) {
	return request({
		url: '/api/order/xiazuanReportWork',
		method: 'POST',
		data
	})
}
//个人信息
export function getUserinfo(data) {
	return request({
		url: '/api/user/getUserInfo',
		method: 'POST',
		data
	})
}


